<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/UI/Resource/image_source.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_c78dc1806c68fd338fba226975244931.html">UI</a></li><li class="navelem"><a class="el" href="dir_7c86a8dfeb4ecb1903ae154e0f5e8956.html">Resource</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">image_source.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>管理加载至 SDRAM 的图片资源(即 lv_img_dsc_t 结构体)  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="image__source_8h_source.html">image_source.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
image_source.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="image__source_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_i_2_resource_2image__source_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_i_2_resource_2image__source_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_i_2_resource_2image__source_8c">
<area shape="rect" title="管理加载至 SDRAM 的图片资源(即 lv_img_dsc_t 结构体)" alt="" coords="5,5,248,75"/>
<area shape="rect" href="image__source_8h.html" title="管理加载至 SDRAM 的图片资源(即 lv_img_dsc_t 结构体)" alt="" coords="69,123,184,148"/>
<area shape="rect" title=" " alt="" coords="37,343,123,368"/>
<area shape="rect" title=" " alt="" coords="56,196,107,221"/>
<area shape="rect" href="file__table_8h.html" title="以文件表管理 SPI&#45;Flash 存储的文件" alt="" coords="131,196,215,221"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="239,196,313,221"/>
<area shape="rect" href="load__file_8h.html" title="加载/拷贝文件" alt="" coords="124,269,204,295"/>
<area shape="rect" title=" " alt="" coords="229,269,283,295"/>
<area shape="rect" title=" " alt="" coords="147,343,186,368"/>
</map>
</div>
</div>
<p><a href="image__source_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a885e4f4c4d55a588752ae7411cf4daa8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8">img_table_hash_init</a> (<a class="el" href="structimg__hash__t.html">img_hash_t</a> *table, uint32_t table_size)</td></tr>
<tr class="memdesc:a885e4f4c4d55a588752ae7411cf4daa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化 图片资源文件映射表  <a href="image__source_8c.html#a885e4f4c4d55a588752ae7411cf4daa8">更多...</a><br /></td></tr>
<tr class="separator:a885e4f4c4d55a588752ae7411cf4daa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:aad0609e68f74eb0a9760a3fc0f604794"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structimg__hash__t.html">img_hash_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">Image_Table</a> [<a class="el" href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a>]</td></tr>
<tr class="memdesc:aad0609e68f74eb0a9760a3fc0f604794"><td class="mdescLeft">&#160;</td><td class="mdescRight">图片资源文件映射表  <a href="image__source_8c.html#aad0609e68f74eb0a9760a3fc0f604794">更多...</a><br /></td></tr>
<tr class="separator:aad0609e68f74eb0a9760a3fc0f604794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51099c440ab911ba95dabfa686eeca93"><td class="memItemLeft" align="right" valign="top">static lv_img_dsc_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="image__source_8c.html#a51099c440ab911ba95dabfa686eeca93">LVGL_Private_Custom_Image_Table</a> [<a class="el" href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a>]</td></tr>
<tr class="memdesc:a51099c440ab911ba95dabfa686eeca93"><td class="mdescLeft">&#160;</td><td class="mdescRight">(可自定义) lv_img_dsc_t 表  <a href="image__source_8c.html#a51099c440ab911ba95dabfa686eeca93">更多...</a><br /></td></tr>
<tr class="separator:a51099c440ab911ba95dabfa686eeca93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >管理加载至 SDRAM 的图片资源(即 lv_img_dsc_t 结构体) </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2023-02-23 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>/</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="image__source_8c_source.html">image_source.c</a> 中定义.</p>
</div><h2 class="groupheader">函数说明</h2>
<a id="a885e4f4c4d55a588752ae7411cf4daa8" name="a885e4f4c4d55a588752ae7411cf4daa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a885e4f4c4d55a588752ae7411cf4daa8">&#9670;&#160;</a></span>img_table_hash_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void img_table_hash_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structimg__hash__t.html">img_hash_t</a> *&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>table_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化 图片资源文件映射表 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">table</td><td>: 表实例 </td></tr>
    <tr><td class="paramname">source</td><td>: 表大小 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>在进行 UI 图片加载显示之前&lt;必须&gt;完成本函数的调用, 以确保 图片资源文件映射表 有效 </dd></dl>

<p class="definition">在文件 <a class="el" href="image__source_8c_source.html">image_source.c</a> 第 <a class="el" href="image__source_8c_source.html#l00037">37</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="image__source_8c_a885e4f4c4d55a588752ae7411cf4daa8_icgraph.png" border="0" usemap="#aimage__source_8c_a885e4f4c4d55a588752ae7411cf4daa8_icgraph" alt=""/></div>
<map name="aimage__source_8c_a885e4f4c4d55a588752ae7411cf4daa8_icgraph" id="aimage__source_8c_a885e4f4c4d55a588752ae7411cf4daa8_icgraph">
<area shape="rect" title="初始化 图片资源文件映射表" alt="" coords="339,5,476,31"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="227,5,291,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="aad0609e68f74eb0a9760a3fc0f604794" name="aad0609e68f74eb0a9760a3fc0f604794"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad0609e68f74eb0a9760a3fc0f604794">&#9670;&#160;</a></span>Image_Table</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structimg__hash__t.html">img_hash_t</a> Image_Table[<a class="el" href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>图片资源文件映射表 </p>

<p class="definition">在文件 <a class="el" href="image__source_8c_source.html">image_source.c</a> 第 <a class="el" href="image__source_8c_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
<a id="a51099c440ab911ba95dabfa686eeca93" name="a51099c440ab911ba95dabfa686eeca93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51099c440ab911ba95dabfa686eeca93">&#9670;&#160;</a></span>LVGL_Private_Custom_Image_Table</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">lv_img_dsc_t LVGL_Private_Custom_Image_Table[<a class="el" href="image__source_8h.html#adaf395a1fb2006af232e8538dcd7a854">IMG_MAX_NUM</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>(可自定义) lv_img_dsc_t 表 </p>

<p class="definition">在文件 <a class="el" href="image__source_8c_source.html">image_source.c</a> 第 <a class="el" href="image__source_8c_source.html#l00028">28</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
